/**
 * 
 */
package com.disys.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.disys.model.LdapUsers;

/**
 * @author Ubaid Raja
 *
 */
public class LdapUsersDAO extends GenericDAO<LdapUsers>{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3822927267290866339L;
	
	public LdapUsersDAO() {
		super(LdapUsers.class);
	}
 
    public LdapUsers findUserByUID(String uid){
        Map<String, Object> parameters = new HashMap<String, Object>();
        parameters.put("uid", uid);     
        return super.findOneResult(LdapUsers.FIND_BY_UID, parameters);
    }
}
